interface IKun {
  name: string
  age: number
  slogan?: string
}
// 把所有属性都变为只读的
type IkunOptional = Readonly<IKun>


// 类型体操
type HYReadonly<T> = {
  readonly [P in keyof T]: T[P]
}

type IkunOptional1 = HYReadonly<IKun>


export { }